﻿using System.Linq;
using System.Windows;

using TraceView.UI.Entities;

namespace TraceView.UI
{
    public delegate void TraceEventHandler(object sender, TraceEventArgs e);

    public sealed class TraceEventArgs : RoutedEventArgs
    {
        private readonly TraceItem _newTraceItem;

        public TraceEventArgs(TraceItem item)
        {
            _newTraceItem = item;
        }

        public TraceItem NewTraceItem
        {
            get { return _newTraceItem; }
        }
    }
}